﻿//自动义双击方法
function CustomDbClick() {
}
//自定义新增方法
var fnCustomAdd = function () {
    window.parent.$("#tabs").tabs('close', '交付申请单--项目');
    var pagetitle = "交付申请单--项目";
    parent.addTabs(pagetitle, '../Crm/Deliver/AddDeliverMajorProject.aspx?r=' + Math.random() + '&entity=' + const_EditEntity + '&title=' + encodeURI(pagetitle));
    parent.NeedRefreshPage = this;
}
//自定义修改方法
var fnCustomEdit = function () {
}
//自定义删除方法
//var fnCustomDeleteData = function () {
//    YAHOO.example.container.dialog3.hide();
//}

//格式化确认时间
var formatSureTime = function (elCell, oRecord, oColumn, sData) {
    if (sData == "00001-01-01") {
        elCell.innerHTML = "";
    }
}